package org.hiucung.desktoptranslationtools.bean

/**
 * @title: DialogEvent
 * @projectName DesktopTranslationTools
 * @description: 使用密封类定义不同类型的弹窗
 * @author Kicc
 * @date 2025/7/24 3:40
 */
sealed class DialogEvent {
    data class Info(
        val title: String = "提示",
        val message: String,
        val confirmText: String = "确认"
    ) : DialogEvent()

    data class Error(
        val title: String = "错误",
        val message: String,
        val confirmText: String = "确定"
    ) : DialogEvent()
}